package com.zkzx.company.api.controller.workbench.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author young Email:yanghui@zkraising.com
 * @description
 * @company 北京中科智兴物联科技有限公司 @版权所有
 * @since 2021年05月08日 11时05分
 */
@Builder
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "WorkbenchVO", description = "工作台信息")
public class WorkbenchVO implements Serializable {

    private static final long serialVersionUID = 1L;
    /**
     * 企业名称
     */
    @ApiModelProperty(value = "企业名称", name = "company_name", example = "北京鑫海平安物流有限公司")
    private String companyName;

    /**
     * 公告
     */
    @ApiModelProperty(value = "公告", example = "春节放假时间：7天")
    private String announcement;

    /**
     * 可使用车辆数量
     */
    @ApiModelProperty(value = "可使用车辆数量", name = "usable_truck", example = "春节放假时间：7天")
    private int usableTruck;

    /**
     * 在途车辆数量
     */
    @ApiModelProperty(value = "在途车辆数量", name = "run_truck", example = "春节放假时间：7天")
    private int runTruck;

    /**
     * 可使用司机数量
     */
    @ApiModelProperty(value = "可使用司机数量", name = "usable_driver", example = "10")
    private int usableDriver;

    /**
     * 在途司机数量
     */
    @ApiModelProperty(value = "在途司机数量", name = "run_driver", example = "4")
    private int runDriver;

    /**
     * 账户余额
     */
    @ApiModelProperty(value = "账户余额", name = "balance_amount", example = "1234589.00")
    private BigDecimal balanceAmount;

    /**
     * 总运单数量
     */
    @ApiModelProperty(value = "总运单数量", name = "order_num", example = "10")
    private int orderNum;

    /**
     * 异常运单
     */
    @ApiModelProperty(value = "异常运单", name = "error_order_num", example = "1")
    private int errorOrderNum;

    /**
     * 待支付运单
     */
    @ApiModelProperty(value = "待支付运单", name = "unpaid_order_num", example = "3")
    private int unpaidOrderNum;

    /**
     * 待开票
     */
    @ApiModelProperty(value = "待开票运单", name = "invoice_order_num", example = "2")
    private int invoiceOrderNum;


    /**
     * 未读站内信数量
     */
    @ApiModelProperty(value = "未读站内信数量", name = "unread_message_num", example = "15")
    private int unreadMessageNum;

}
